<?php
namespace Home\Controller;
use Think\Controller;
class ArticleShowController extends Controller {
    public function index(){
    	$id=$_GET['id'];
    	$news=M("addarticle");//获取到addarticle表格
        $list=$news->where('Id='.$id)->select();//查询表格的数据
        $this->assign("list",$list);
        $this->display();
    }
}